package com.jxl.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 咨询师档案表
 * </p>
 *
 * @author 金小梁
 * @since 2025-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("counselors")
@ApiModel(value="Counselors对象", description="咨询师档案表")
public class Counselors implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "咨询师唯一标识")
    @TableId(value = "counselor_id", type = IdType.AUTO)
    private Integer counselorId;

    @ApiModelProperty(value = "咨询师姓名")
    private String name;

    @ApiModelProperty(value = "加密后的密码")
    private String passwordHash;

    @ApiModelProperty(value = "咨询师邮箱")
    private String email;

    @ApiModelProperty(value = "咨询师手机号")
    private String phone;

    @ApiModelProperty(value = "注册时间")
    private LocalDateTime registrationDate;

    @ApiModelProperty(value = "账号信息更新时间")
    private LocalDateTime accountUpdatedAt;

    @ApiModelProperty(value = "咨询师账号是否启用（0=禁用，1=启用）")
    private Boolean isEnabled;

    @ApiModelProperty(value = "咨询师简介")
    private String introduction;

    @ApiModelProperty(value = "咨询师照片链接")
    private String photoUrl;

    @ApiModelProperty(value = "是否可预约（0=否，1=是）")
    private Boolean isAvailable;


}
